<?php echo $this->title?>
<!--  start product-table ..................................................................................... -->
				<form id="mainform" action="" method="post">
				<table border="0" width="100%" cellpadding="0" cellspacing="0" id="product-table">
				<tr>
					<th class="table-header-check"><a id="toggle-all" ></a></th>
					
					<th class="table-header-repeat line-left minwidth-1"><a href="">Họ và tên</a></th>
					<th class="table-header-repeat line-left"><a href="">Ngày sinh</a></th>
					<th class="table-header-repeat line-left"><a href="">Số CMND</a></th>
					<th class="table-header-repeat line-left"><a href="">Ngày cấp</a></th>
					<th class="table-header-repeat line-left"><a href="">Địa chỉ thường trú </a></th>
					<th class="table-header-repeat line-left"><a href="">Địa chỉ liên lạc</a></th>
					<th class="table-header-repeat line-left"><a href="">Điện thoại</a></th>
					<th class="table-header-repeat line-left"><a href="">Tên cơ quan</a></th>
					<th class="table-header-repeat line-left"><a href="">Địa chỉ cơ quan</a></th>
					<th class="table-header-repeat line-left"><a href="">Điện thoại cơ quan</a></th>
					<th class="table-header-repeat line-left"><a href="">Nơi nhận thẻ</a></th>
					<th class="table-header-repeat line-left"><a href="">Ngày đăng ký</a></th>
					
					<th class="table-header-options line-left"><a href="">Tiếp nhận</a></th>
				</tr>							
<?php
if(count($this->danhsach)>0){
	foreach($this->danhsach as $danhsach)
	{
		$id = $danhsach->getId();
    			$hovaten = $danhsach->getHovaten();    			
    			$ngaysinh = $danhsach->getNgaysinh();
    			$diachithuongtru = $danhsach->getDiachithuongtru();
    			$diachilienlac= $danhsach->getDiachilienlac();
    			$dienthoai= $danhsach->getDienthoai();
    			$cmnd= $danhsach->getCmnd();
    			$ngaycap= $danhsach->getNgaycap();
    			$noicap= $danhsach->getNoicap();
    			$tencoquan = $danhsach->getTencoquan();
    			$diachicoquan= $danhsach->getDiachicoquan();
    			$dienthoaicoquan= $danhsach->getDienthoaicoquan();
    			
    			$chinhanh = $danhsach->getChinhanh();
    			$tenchinhanh = $chinhanh->getTenchinhanh();
    			//$machinhanh = $danhsach->getMachinhanh();
    			$ngaydangky = $danhsach->getNgaydangky();
?>
	<tr>
					<td><input  type="checkbox"/></td>
					<td><?php echo $hovaten?></td>
					<td><?php echo $ngaysinh?></td>
					<td><?php echo $diachithuongtru?></td>
					<td><?php echo $diachilienlac?></td>
					<td><?php echo $cmnd?></td>
					<td><?php echo $ngaycap?></td>
					<td><?php echo $noicap?></td>
					<td><?php echo $tencoquan?></td>
					<td><?php echo $diachicoquan?></td>
					<td><?php echo $dienthoaicoquan?></td>
					<td><?php echo $tenchinhanh?></td>
					<td><?php echo $ngaydangky?></td>
					
					<td class="options-width">
					<?php echo $this->formCheckbox('nhan'.$id);?>
					</td>
				</tr>
<?php
		
}
}

?>
			</table>
			<?php echo $this->formSubmit('submit','Tiếp nhận')?>
				<!--  end product-table................................... -->
				</form>